FROM openeuler/openeuler:22.03-lts

MAINTAINER yangyunyi <yangyunyi2@huawei.com>

RUN yum update -y \
    && yum install -y aops-utils aops-database aops-manager aops-cli aops-web \
    && yum clean all;
RUN sed -i 's/#host_key_checking = False/host_key_checking = False/g' /etc/ansible/ansible.cfg

EXPOSE 11111 11119 80

CMD ["/usr/bin/aops-manager","start"]
CMD ["/usr/bin/aops-database","start"]
CMD ["/usr/bin/aops-web","start"]
